import { IsDefined } from 'class-validator';

export class AuthRealNameDto {
  @IsDefined({ message: '姓名必填' })
  realname: string;

  @IsDefined({ message: '身份证号必填' })
  idCard: string;

  @IsDefined({ message: 'randstr参数必填' })
  randstr: string;

  @IsDefined({ message: 'ticket参数必填' })
  ticket: string;
}
